package com.svms.save.entitys;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class SvdaRydabdxx implements Serializable {
    /**
     * 序列
     */
    private Long objectid;

    /**
     * 档案状态
     */
    private String dazt;

    /**
     * 关联的档案信息编号
     */
    private String gldaxxbh;

    /**
     * 档案状态变动的关系人
     */
    private String gxr;

    /**
     * 说明
     */
    private String sm;

    /**
     * 变动时间
     */
    private Date bdsj;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作标识
     */
    private String czbs;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getDazt() {
        return dazt;
    }

    public void setDazt(String dazt) {
        this.dazt = dazt;
    }

    public String getGldaxxbh() {
        return gldaxxbh;
    }

    public void setGldaxxbh(String gldaxxbh) {
        this.gldaxxbh = gldaxxbh;
    }

    public String getGxr() {
        return gxr;
    }

    public void setGxr(String gxr) {
        this.gxr = gxr;
    }

    public String getSm() {
        return sm;
    }

    public void setSm(String sm) {
        this.sm = sm;
    }

    public Date getBdsj() {
        return bdsj;
    }

    public void setBdsj(Date bdsj) {
        this.bdsj = bdsj;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaRydabdxx other = (SvdaRydabdxx) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getDazt() == null ? other.getDazt() == null : this.getDazt().equals(other.getDazt()))
            && (this.getGldaxxbh() == null ? other.getGldaxxbh() == null : this.getGldaxxbh().equals(other.getGldaxxbh()))
            && (this.getGxr() == null ? other.getGxr() == null : this.getGxr().equals(other.getGxr()))
            && (this.getSm() == null ? other.getSm() == null : this.getSm().equals(other.getSm()))
            && (this.getBdsj() == null ? other.getBdsj() == null : this.getBdsj().equals(other.getBdsj()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getDazt() == null) ? 0 : getDazt().hashCode());
        result = prime * result + ((getGldaxxbh() == null) ? 0 : getGldaxxbh().hashCode());
        result = prime * result + ((getGxr() == null) ? 0 : getGxr().hashCode());
        result = prime * result + ((getSm() == null) ? 0 : getSm().hashCode());
        result = prime * result + ((getBdsj() == null) ? 0 : getBdsj().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", dazt=").append(dazt);
        sb.append(", gldaxxbh=").append(gldaxxbh);
        sb.append(", gxr=").append(gxr);
        sb.append(", sm=").append(sm);
        sb.append(", bdsj=").append(bdsj);
        sb.append(", czsj=").append(czsj);
        sb.append(", czr=").append(czr);
        sb.append(", czbs=").append(czbs);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}